<template>
    <div class="usercontainer">
        <img :src="user.avatar_url" width="20px">
        <a :href="user.html_url" target="_blank">github仓库</a>
    </div>
</template>

<script>
    export default {
        name:'User',
        props:{
            user:{}
        }
    }
</script>

<style scoped>
.usercontainer{
    background-color: aliceblue;
}
img{
    vertical-align:middle;
}
</style>